import request from '@/utils/request'
//所有跟商品规格相关的异步请求


//获取角色列表
export  function roomSearch(data) {
    return request({
      url: '/room/search',
      method: 'post',
      data   //只能是data
    })
  }


//保存角色
export  function roomSave(wxbGoodsTemplate) {
    return request({
      url: '/room/add',
      method: 'post',
      data:wxbGoodsTemplate   //只能是data
    })
  } 
export  function delroomById(data) {
  return request({
    url: '/room/undercarriage?roomId='+data,
    method: 'get'
  })
} 
